package com.litong.rms.service;

import java.util.List;

import com.litong.rms.bean.Auth;

public interface AuthService {
	
	public void addAuth(Auth auth);
	
	public Auth findAuth(Auth auth);
	
	public Auth getAuthById(int authId);
	
	public void updateAuth(Auth auth);
	
	public void deleteAuth(Auth auth);
	
	public void deleteAuth(String tableName ,int entityId);
	
	public <T>List<T> getAuthList();
	
	public <T>List<T> getAuthList(int moduleId);
}
